package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsPermissionDaoImpl;
import com.educate.upms.model.bo.UpmsPermissionBO;
import com.educate.upms.model.po.UpmsPermission;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsPermissionDao extends MongoRepository<UpmsPermission, String> {

    /**
     * #{@link UpmsPermissionDaoImpl#query(UpmsPermissionBO, Pageable)}
     */
    Page<UpmsPermission> query(UpmsPermissionBO bo, Pageable pageable);
}
